home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2000 June / Internet Magazine June 2000.iso / pc / software / windows / building / wirefusion / html / ex5 / bob13.class (.txt) < prev    next >
Encoding:
Java Class File  |  2000-01-03  |  834 b   |  57 lines

  1. import java.awt.Event;
  2. import java.io.DataInputStream;
  3.  
  4. public class bob13 extends bob {
  5.    // $FF: renamed from: x double
  6.    public double field_0;
  7.    // $FF: renamed from: y double
  8.    public double field_1;
  9.  
  10.    public bob13(double var1, double var3) {
  11.       this.field_0 = var1;
  12.       this.field_1 = var3;
  13.    }
  14.  
  15.    public bob13() {
  16.    }
  17.  
  18.    // $FF: renamed from: rd (java.io.DataInputStream) void
  19.    public void method_0(DataInputStream var1) {
  20.       try {
  21.          this.field_0 = var1.readDouble();
  22.          this.field_1 = var1.readDouble();
  23.       } catch (Exception var3) {
  24.       }
  25.  
  26.    }
  27.  
  28.    // $FF: renamed from: he (java.awt.Event) void
  29.    public void method_1(Event var1) {
  30.       switch (var1.id) {
  31.          case 1:
  32.             bob13 var2 = (bob13)var1.arg;
  33.             this.field_0 = var2.field_0;
  34.             this.field_1 = var2.field_1;
  35.             ((bob)this).ce(this, 4);
  36.             break;
  37.          case 2:
  38.             this.field_0 = ((bob10)var1.arg).value;
  39.             ((bob)this).ce((bob10)var1.arg, 5);
  40.             break;
  41.          case 3:
  42.             this.field_1 = ((bob10)var1.arg).value;
  43.             ((bob)this).ce((bob10)var1.arg, 6);
  44.             break;
  45.          case 4:
  46.             ((bob)this).ce(this, 1);
  47.             break;
  48.          case 5:
  49.             ((bob)this).ce(new bob10(this.field_0), 2);
  50.             break;
  51.          case 6:
  52.             ((bob)this).ce(new bob10(this.field_1), 3);
  53.       }
  54.  
  55.    }
  56. }
  57.